package com.xuelang.pipeline.client.pipeline.dto;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author liuyuan.ly
 * @since 2024/7/22 14:48
 */

@Data
public class MeasDTO implements Serializable {
    private static final long serialVersionUID = -5461019249952659594L;
    private Component component;


    @Data
    public static class Component implements Serializable {
        private static final long serialVersionUID = 4943009058113493661L;
        private String key;
        private String name;
        private String qualifier;
        private List<Measures> measures;
    }

    @Data
    public static class Measures implements Serializable {
        private static final long serialVersionUID = 8396321318003871765L;
        private String metric;
        private String value;
        private Boolean bestValue;
    }
}


